export const USER_GENDER = {
  male: 'M',
  female: 'F',
}

export const USER_STATUS = {
  normal: '0',
  disabled: '1',
}

export const USER_ROLE = {
  user: 'user',
  admin: 'admin',
}

export const NETWORK_STATUS: Record<number, string> = {
  422: 'Parameter Verification Failed',
  404: '404 Not Found',
  405: 'Method Not Allowed',
  500: 'Internal Server Error',
  504: 'Network Error',
}

export const WS_STATUS = {
  CONNECT: 'WS_CONN',
  RECEIVE: 'WS_DATA_RECV',
  ALIVE: 'WS_ALIVE',
  LOG: 'WS_LOG',
  NOTIFY: 'WS_NOTIFY',
  NOTIFY_START: 'RUN_CASE_START',
  NOTIFY_END: 'RUN_CASE_END',
}

export const CASE_STATUS = {
  NO_RESULT: 'NO_RESULT',
  CALCULATING: 'CALCULATING',
  HAS_RESULT: 'HAS_RESULT',
  BAD_CASES: 'BAD_CASES',
}
